//++
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// Module Name:
//
//  ItemDeletedEventArgs.cs
//    
// Abstract:
//
//  This module implements the ItemDeletedEventArgs class. This class encapsulates the ID of the reminder that has been deleted.
//  
//--

using System;

namespace Microsoft.EnhancedReminders.Scheduler
{
    /// <summary>
    /// Encapsulates the ID of the reminder that has been deleted.
    /// </summary>
    public sealed class ItemDeletedEventArgs : EventArgs
    {
        private string _id;

        /// <summary>
        /// ctor.
        /// </summary>
        /// <param name="id">ID of the deleted reminder</param>
        public ItemDeletedEventArgs(string id)
        {
            _id = id;
        }

        /// <summary>
        /// The ID of the reminder that has been deleted.
        /// </summary>
        public string Id
        {
            get
            {
                return _id;
            }
        }
    }
}
